runtime.hchan.elemsize (field)
5 uses
runtime (current package)
chan.go#L38: elemsize uint16
chan.go#L113: c.elemsize = uint16(elem.Size_)
chan.go#L139: return add(c.buf, uintptr(i)*uintptr(c.elemsize))
chan.go#L955: if c.elemsize == 0 {
stack.go#L838: p := sg.elem.uintptr() + uintptr(sg.c.get().elemsize)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |